const puppeteer = require("puppeteer");

class Stores {
    constructor(...props) {
        const { launchConfig, pageConfig } = props;

        this.browser = null;
        this.page = null;
    }
    get_browser = async () => {
        return puppeteer.launch({
            headless: false,
            timeout: 600000,
            devtools: false
        });
    };
    log = () => {
        console.log(`${"01"}: browser opened!`);
        console.log(`${"02"}: page loaded!`);
        console.log(`${"03"}: logined!`);
        console.log(`${"04"}: start run……`);
        console.log(`${"05"}: 跳转……`);
    };
}
